package com.foryou.system.modules.wx.service.impl;

import com.foryou.system.modules.wx.dao.SysMsgDao;
import com.foryou.system.modules.wx.entity.SysMsgEntity;
import com.foryou.system.modules.wx.service.SysMsgService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * Created by Lee.
 */
@Service
public class SysMsgServiceImpl implements SysMsgService {

    @Autowired
    private SysMsgDao sysMsgDao;

    @Override
    public List<SysMsgEntity> queryList(Map<String, Object> params) {
        return sysMsgDao.queryList(params);
    }

    @Override
    public int queryTotal(Map<String, Object> params) {
        return sysMsgDao.queryTotal(params);
    }

    @Override
    public int update(Map<String, Object> map) {
        return sysMsgDao.update(map);
    }

    @Override
    public int add(Map<String, Object> map) {
        return sysMsgDao.add(map);
    }

    @Override
    public List<SysMsgEntity> selectList() {
        return sysMsgDao.selectList();
    }

    @Override
    public SysMsgEntity getInfo(Long id) {
        return sysMsgDao.getInfo(id);
    }

    @Override
    public int deleteBatch(Object[] ids) {
        return sysMsgDao.deleteBatch(ids);
    }
}
